<?PHP
	include_once 'Product.php';
	if (!isset($_SESSION)) session_start();
	header("Content-Type: text/html; charset=utf-8", true);
?>

<!DOCTYPE html>
<html>
	<head>
		<title>CKJ Store</title>
		<link rel="stylesheet" href="css/style.css">
	</head>
	<body>
		<div class="container">
			<div class="head">
				<a id="logo" href="index.php">CKJ Store</a>

				<?php 
					if (!isset($_SESSION)) session_start();
					
					if(isset($_SESSION['UsuarioID']))
						include "head_car.php";
					else 
						include 'head_login.php';
				?>
			</div>

			<!-- fim do header-->

			<?php include 'head_search.php'; ?>

			<div><span class="highlights">Produtos</span></div>

			<div class="wall">
				<ul>
				
				<?php include "mostrarProdutos.php";?>
				
				</ul>
			</div>
		</div>
	</body>
</html>
